import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { PageHomeComponent } from './page-home/page-home.component';
import { PageChefComponent } from './page-chef/page-chef.component';
import { PageMyComponent } from './page-my/page-my.component';
import { SubpageChuanComponent } from './subpage-chuan/subpage-chuan.component';
import { SubpageXiangComponent } from './subpage-xiang/subpage-xiang.component';
import { SubpageSuComponent } from './subpage-su/subpage-su.component';
import { SubpageDongComponent } from './subpage-dong/subpage-dong.component';
import { SubpageXiComponent } from './subpage-xi/subpage-xi.component';
import { SubpageYueComponent } from './subpage-yue/subpage-yue.component';
import { SubpageMinComponent } from './subpage-min/subpage-min.component';
import { SubpageQitaComponent } from './subpage-qita/subpage-qita.component';
import { PageDetailComponent } from './page-detail/page-detail.component';
import { SubpageTtJccComponent } from './subpage-tt-jcc/subpage-tt-jcc.component';
import { MyAgreementComponent } from './my-agreement/my-agreement.component';
import { MyResidencyComponent } from './my-residency/my-residency.component';
import { MyServiceComponent } from './my-service/my-service.component';
import { MyOrderComponent } from './my-order/my-order.component';
import { MyAddressComponent } from './my-address/my-address.component';
import { MySignComponent } from './my-sign/my-sign.component';
const routes: Routes = [
  {path:"", redirectTo:"home",pathMatch:"full"},
  {path:"home", component:PageHomeComponent},
  {path:"chef", component:PageChefComponent},
  {path:"my", component:PageMyComponent},
  {path:'login',component:SubpageTtJccComponent},
  {path:"chuan", component:SubpageChuanComponent},
  {path:"xiang", component:SubpageXiangComponent},
  {path:"su", component:SubpageSuComponent},
  {path:"dong", component:SubpageDongComponent},
  {path:"xi", component:SubpageXiComponent},
  {path:"yue", component:SubpageYueComponent},
  {path:"min", component:SubpageMinComponent},
  {path:"qita", component:SubpageQitaComponent},
  {path:"detail", component:PageDetailComponent},
  {path:"agreement", component:MyAgreementComponent},
  {path:"residency", component:MyResidencyComponent},
  {path:"service", component:MyServiceComponent},
  {path:"order", component:MyOrderComponent},
  {path:"address", component:MyAddressComponent},
  {path:"sign", component:MySignComponent},

];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class MobileCookingRoutingModule { }
